import {get, post} from "./axios";

export function register(data) {
  return post('/user/register', data)
}

export function checkPhone(phone) {
  return get('/user/isRegister', {
    params: {
      phone: phone
    }
  })
}

export function checkEmail(email) {
  return get('/user/isRegister', {
    params: {
      email: email
    }
  })
}


